﻿using Common.Data.Extensions;
using Customer.Core.Configuration;
using Customer.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Customer.Core.Data.DBConfig
{
    public class FreedomCustomerConfiguration : DBConfig<CustomerFreedom>
    {
        public FreedomCustomerConfiguration()
            : base(SystemConfiguration.Schema, SystemConfiguration.NamingType, SystemConfiguration.TABLE_PREFIX)
        {
            HasKey(k => new { k.Cif });

            //relationship
        }
    }
}
